import Vue from 'vue';
import store from './store';
import router from './router'
import App from './pages/App.vue';
import '../../tool/directive';

if(__DEV__){
Vue.config.devtools = __DEV__;
}

Vue.config.errorHandler=function (err, vm) {
    console.log(err)
};

let _App=Vue.extend(App);
document.body.appendChild(
    new _App({
        router,
        store
    }).$mount().$el
);
    
